package com.letoken.platform.repo.app.res.assets;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author letokenlabs
 * @date 2022/12/3
 */
@Data
@ApiModel(value = "我的-系统公告详情返回对象", description = "我的-系统公告详情返回对象")
public class QueryAnnDetailRes {

    @ApiModelProperty(name = "id", value = "编号", example = "1")
    private Long id;

    @ApiModelProperty(name = "title", value = "公告标题", example = "xxx")
    private String title;

    @ApiModelProperty(name = "title", value = "公告内容")
    private String content;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "createTime", value = "创建时间", example = "2022-11-11 10:05:32")
    private LocalDateTime createTime;

}
